<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head>
    <base href="<%=basePath%>" />
    <title>Allocator List In Concentrator</title>
    <script type="text/javascript">
		var path = "<%=basePath%>";
	</script>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>beshs/css/content.css" />
	<script type="text/javascript" src="<%=basePath%>resources/jquery/jquery-1.7.2.min.js"></script>
	<!-- 页面特效 -->
	<jsp:include page="/beshs/res-refer/page-effect-reference.jsp" />
	<!-- 系统通用资源 -->
	<jsp:include page="/resources/resource-refer/common-resource-reference.jsp" />
	<!-- 用户访问菜单路径 -->
	<jsp:include page="/resources/usertrace/common-uservisit-reference.jsp" />
  </head>
  <body>
  	<div class="content_all">
<%--	  	<!--查询条件-->--%>
<%--	  	<div class="search">--%>
<%--	    	<form action=""><table cellpadding="0" cellspacing="0">--%>
<%--				<tr>--%>
<%--			        <th>分配表表号：</th>--%>
<%--			        <td><input name="seriousNum" value="<s:property value='seriousNum' />" type="text" class="s_input" /></td>--%>
<%--			        <td><input name="query" type="button" value="查 询" class="s_btn" /></td>--%>
<%--	      		</tr>--%>
<%--	    	</table></form>--%>
<%--	  	</div>--%>
	  	<!--查询列表-->
	  	<div class="search_table_all">
	    	<table class="search_table" cellspacing="0" cellpadding="0">
	      		<thead>
	        		<tr>
		          		<th style="width:50px;">Serial No.</th>
			          	<th>Allocator No.</th>
						<th>Building</th>
						<th>Heat User</th>
						<th>Allocator Model</th>
						<th>Installation Time</th>
	        		</tr>
	      		</thead>
	      		<tbody>
	      			<s:iterator value="assignMeterList" var="assignMeter" status="status">
	      				<tr>
		          			<td><s:property value="#status.index+1" /></td>
		          			<td><s:property value="#assignMeter.seriousNum" /></td>
		          			<td><s:property value="referBuildingMap.get(#assignMeter.buildingID)" /></td>
		          			<td><s:property value="referRoomMap.get(#assignMeter.roomId)" /></td>
		          			<td><s:property value="#assignMeter.model" /></td>
		          			<td><s:date name='#assignMeter.installDate' format='yyyy-MM-dd' nice='false' /></td>
		        		</tr>
	      			</s:iterator>
	      		</tbody>
	    	</table>
	  	</div>
	</div>
  </body>
</html>
